<?php

/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

class Book_Form_Delete extends Engine_Form {

    public function init() {
        $this
                ->setDescription('Are you sure you want to delete this book?')
        ;

        $this->addElement('button', 'delete', array(
            'label' => 'Delete',
            'decorators' => array('ViewHelper'),
            'type' => 'submit'
        ));

        $this->addElement('Cancel', 'cancel', array(
            'prependText' => ' or ',
            'label' => 'Cancel',
            'decorators' => array('ViewHelper'),
        ));
    }

}
